package com.itnoob.demo;

/**
 * @author zhoujun
 * @date 2025/3/21 21:45
 */
public class Client {
    public static void main(String[] args) {
        //创建几个ConcreteCoffee对象,表示不同的咖啡和样式(内部状态和外部状态)
        ConcreteCoffee concreteCoffee1 = new ConcreteCoffee("拿铁", 20.2, "大杯", "热");
        concreteCoffee1.display();
        ConcreteCoffee concreteCoffee2 = new ConcreteCoffee("拿铁", 20.2, "大杯", "热");
        concreteCoffee2.display();
        ConcreteCoffee concreteCoffee3 = new ConcreteCoffee("拿铁", 20.2, "大杯", "热");
        concreteCoffee3.display();
    }
}
